projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2add4a6
)
* lisp/gnus/mailcap.el (mailcap-mime-data):
author
Michael Sperber
<mike@xemacs.org>
Tue, 20 Oct 2015 11:18:30 +0000
(11:18 +0000)
committer
Katsumi Yamaoka
<yamaoka@jpl.org>
Tue, 20 Oct 2015 11:18:30 +0000
(11:18 +0000)
Conditonalize `doc-view-mode', which does not exist on XEmacs.
lisp/gnus/mailcap.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/mailcap.el
b/lisp/gnus/mailcap.el
index 9f84413996020c0676e2c5c111d78981b7eafcd3..a3348c69869fea54e664dfb86fd5ebbd27abae75 100644
(file)
--- a/
lisp/gnus/mailcap.el
+++ b/
lisp/gnus/mailcap.el
@@
-160,7
+160,8
@@
This is a compatibility function for different Emacsen."
("pdf"
(viewer . doc-view-mode)
(type . "application/pdf")
- (test . (eq window-system 'x)))
+ (test . (and (fboundp 'doc-view-mode)
+ (eq window-system 'x))))
("pdf"
(viewer . "gv -safer %s")
(type . "application/pdf")